package com.design.pattern.proxy;

/**
 * @Description TODO
 * @author ll
 * @createTime 2021/6/1  18:23 
 */
public class Proxy implements GiveGifts {

	Pursuit pursuit;

	public Proxy(SchoolGirls schoolGirls){
		pursuit = new Pursuit(schoolGirls);
	}


	@Override
	public void giveFlower() {
		pursuit.giveFlower();
	}

	@Override
	public void giveLipstick() {
		pursuit.giveLipstick();
	}

	@Override
	public void giveDoll() {
		pursuit.giveDoll();
	}
}
